package com.hbm.dao;

import java.util.List;

import com.hbm.entity.Customer;

public interface CustomerDao {
	//增
	void insertCustomer(Customer customer);

	//删
	void delectCustomer();

	//改
	void updateCustomer(Customer customer);

	//查id
	Customer selectCustomerById(Long id);

	//查名字
	Customer selectCustomerByName(String name);

	//查地址
	Customer selectCustomerByAddress(String address);

	//查全部
	List<Customer> selectAllCustomers();

}
